lcEntSplit Home

Splits the specified entitiy on several entities.
The function can be applied to the following entity types: Line, Polyline, Arc, Circle

 HANDLE lcEntSplit (
   HANDLE hEntity,
   int nParts,
   BOOL bSelectNew,
   BOOL bDeleteEnt
 );

Parameters
hEntity
  Handle to a graphic object to be splitted.
nParts
  A number of split parts. The value range is 2...1000.
bSelectNew
  If TRUE then the derived entities will be added into selection set.
bDeleteEnt
  If TRUE then the source entity will be deleted.

Return Value

  A handle to the first splitted entity, or NULL if the function fails.

See Also

  Code sample,   lcBlockSelSplit,   LC_CMD_SPLIT